package com.landscope.issue.mapper;

import com.landscope.issue.controller.wx.dto.AppletMonitorDataDto;
import com.landscope.issue.entity.TopParam;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TopParamMapper {
    int deleteByPrimaryKey(Long id);

    int insert(TopParam record);

    int insertSelective(TopParam record);

    TopParam selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(TopParam record);

    int updateByPrimaryKey(TopParam record);

    TopParam findOne(@Param("paramName") String paramName,
                     @Param("account") String account,
                     @Param("projectCode") String projectCode,
                     @Param("type") Integer type);

    List<TopParam> findByAccountAndProjectCode(@Param("account") String account,
                                               @Param("projectCode") String projectCode);
}